﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Borton.Beans
{
    class Orszag : Bean
    {
        public Orszag()
        {
            tableName = "Orszag";
            fields = new Field[] {
                new Field("id", FieldType.NUMBER),
                new Field("nev", FieldType.STRING),
                new Field("jel", FieldType.STRING)
            };
            referringBeans = new Bean[] {
                new Borton()
            };
        }

        public override object Clone()
        {
            return new Orszag();
        }

        public override string getDisplayName()
        {
            return fields[1].getValueForDisplay();
        }
    }
}
